/*
 * @(#)DiagnosisRecordBean.java 创建于 2016-07-14 14:54:50
 *
 * 版权：版权所有 Bsoft 保留所有权力。
 */
package hcn.protocol.ods.diagnosis;

import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 就诊记录。
 *
 * @author <a href="mailto:chinnsii@163.com">zhengshi</a>
 */
@XmlRootElement(name = "diagnosisRecord")
public class DiagnosisRecordBean implements Serializable {

    private String patientId;
    private String diagnosisRecordId;
    private Date diagnosisDate;
    private String deptId;
    private String deptName;
    private String doctorId;
    private String doctorName;
    private List<DiagnosisFeeRecordBean> feeRecords;

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getDiagnosisRecordId() {
        return diagnosisRecordId;
    }

    public void setDiagnosisRecordId(String diagnosisRecordId) {
        this.diagnosisRecordId = diagnosisRecordId;
    }

    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getDiagnosisDate() {
        return diagnosisDate;
    }

    public void setDiagnosisDate(Date diagnosisDate) {
        this.diagnosisDate = diagnosisDate;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    @XmlElementWrapper(name = "feeRecords")
    @XmlElement(name = "feeRecord")
    public List<DiagnosisFeeRecordBean> getFeeRecords() {
        return feeRecords;
    }

    public void setFeeRecords(List<DiagnosisFeeRecordBean> feeRecords) {
        this.feeRecords = feeRecords;
    }
}
